
LIBS += ../src/libgmatlab.la
CFLAGS += -I$(top_srcdir)/src -I../src $(MATLAB_CFLAGS) $(GLIB_CFLAGS) $(INTROSPECTION_CFLAGS)
LDFLAGS += -shrext .$(MEXEXT) -no-undefined

toolboxdir = $(TOOLBOX_PREFIX)/gmatlab/+glib
toolbox_LTLIBRARIES = g_boxed_free.la \
	g_irepository_matlab_find_method.la \
	g_irepository_matlab_find_symbol.la \
	g_irepository_matlab_get_search_path.la \
	g_irepository_matlab_invoke.la \
	g_irepository_matlab_load_pkg.la \
	g_irepository_matlab_prepend_search_path.la \
	g_irepository_matlab_release_info.la \
	g_matlab_init.la \
	g_object_matlab_get_property.la \
	g_object_matlab_has_property.la \
	g_object_matlab_new.la \
	g_object_matlab_release.la \
	g_object_matlab_set_property.la \
	g_signal_connect.la \
	g_type_matlab_register.la \
	g_type_name.la
#        g_closure_matlab_invoke.la
#        g_closure_matlab_isinvalid.la

g_boxed_free_la_LDFLAGS = -module
#g_closure_matlab_invoke_la_LDFLAGS = -module
#g_closure_matlab_isinvalid_la_LDFLAGS = -module
g_irepository_matlab_find_method_la_LDFLAGS = -module
g_irepository_matlab_find_symbol_la_LDFLAGS = -module
g_irepository_matlab_get_search_path_la_LDFLAGS = -module
g_irepository_matlab_invoke_la_LDFLAGS = -module
g_irepository_matlab_load_pkg_la_LDFLAGS = -module
g_irepository_matlab_prepend_search_path_la_LDFLAGS = -module
g_irepository_matlab_release_info_la_LDFLAGS = -module
g_matlab_init_la_LDFLAGS = -module
g_object_matlab_get_property_la_LDFLAGS = -module
g_object_matlab_has_property_la_LDFLAGS = -module
g_object_matlab_new_la_LDFLAGS = -module
g_object_matlab_release_la_LDFLAGS = -module
g_object_matlab_set_property_la_LDFLAGS = -module
g_signal_connect_la_LDFLAGS = -module
g_type_matlab_register_la_LDFLAGS = -module
g_type_name_la_LDFLAGS = -module

toolbox_DATA = \
	GBoxed.m       GFlags.m       gi.m           GInterface.m \
	GClass.m       GIPackage.m    GThing.m       GIFunction.m \
	GEnum.m        GObject.m      GType.m
#	GClosure.m
